import time
from public.action import *
from public.business import *
from public.testData import *
from public.tools import *

testCase="DBshop039_删除客户组"
firefox=openBrowser(urlAdmin)
DBshopLoginAdmin(firefox)
DBshopEnterMenu2(firefox,"客户管理","管理客户组")
firefox.find_element_by_xpath("//td[text()='博为峰']/following-sibling::td[3]/a[2]").click()
time.sleep(3)


try:
    firefox.find_element_by_xpath("//td[text()='博为峰']")
    writeLog("%s 测试失败" % testCase)
    getPhoto(firefox)

except:
    writeLog("%s 测试通过" % testCase)